package com.exam.dao;

import java.util.List;

import com.exam.model.PageBean;
import com.exam.model.Question;

public interface QuestionDAO {
	public Question getQuestion(String questionId);

	boolean existQuestionByPaperId(String paperId) throws Exception;

	void questionDelete(Question question) throws Exception;

	void saveQuestion(Question question) throws Exception;

	int questionCount(Question s_question) throws Exception;

	List<Question> getQuestions(Question s_question, PageBean pageBean)
			throws Exception;
}
